const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  resfresh_token: state => state.user.resfresh_token,
  refresh_page: state => state.user.refresh_page,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name,
  userinfo: state => state.user.userinfo,
  czdwinfo: state => state.user.czdwinfo,
  roles: state => state.user.roles,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  permissions: state => state.user.permissions
}
export default getters
